Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

🆙 Update dependency go_router to v13 #202

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 22, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
go_router (source) dependencies major ^6.0.0 -> ^13.0.0

Release Notes

flutter/packages (go_router)

v13.0.0

Compare Source

  • Refactors RouteMatchList and imperative APIs.
  • BREAKING CHANGE:
    • RouteMatchList structure changed.
    • Matching logic updated.

v12.1.3

Compare Source

  • Fixes a typo in navigation.md.

v12.1.1

Compare Source

  • Retains query parameters during refresh and first redirect.

v12.1.0

Compare Source

  • Adds an ability to add a custom codec for serializing/deserializing extra.

v12.0.3

Compare Source

  • Fixes crashes when dynamically updates routing tables with named routes.

v12.0.2

Compare Source

  • Fixes the problem that pathParameters is null in redirect when the Router is recreated.

v12.0.1

Compare Source

  • Fixes deep-link with no path on cold start.

v12.0.0

Compare Source

  • Adds ability to dynamically update routing table.
  • BREAKING CHANGE:
    • The function signature of constructor of RouteConfiguration is updated.
    • Adds a required matchedPath named parameter to RouteMatch.match.

v11.1.4

Compare Source

  • Fixes missing parameters in the type-safe routes topic documentation.

v11.1.3

Compare Source

  • Fixes missing state.extra in onException().

v11.1.2

Compare Source

  • Fixes a bug where the known routes and initial route were logged even when debugLogDiagnostics was set to false.

v11.1.1

Compare Source

  • Fixes a missing {@​end-tool} doc directive tag for GoRoute.name.

v11.1.0

Compare Source

  • Adds optional parameter overridePlatformDefaultLocation to override initial route set by platform.

v11.0.1

Compare Source

  • Fixes the Android back button ignores top level route's onExit.

v11.0.0

Compare Source

  • Fixes the GoRouter.goBranch so that it doesn't reset extra to null if extra is not serializable.
  • BREAKING CHANGE:
    • Updates the function signature of GoRouteInformationProvider.restore.
    • Adds NavigationType.restore to NavigationType enum.

v10.2.0

Compare Source

  • Adds onExit to GoRoute.

v10.1.4

Compare Source

  • Fixes RouteInformationParser that does not restore full RouteMatchList if
    the optionURLReflectsImperativeAPIs is set.

v10.1.3

Compare Source

  • Fixes an issue in the documentation that was using state.queryParameters instead of state.uri.queryParameters.

v10.1.2

Compare Source

  • Adds pub topics to package metadata.

v10.1.1

Compare Source

  • Fixes mapping from Page to RouteMatchs.
  • Updates minimum supported SDK version to Flutter 3.7/Dart 2.19.

v10.1.0

Compare Source

  • Supports setting requestFocus.

v10.0.0

Compare Source

  • BREAKING CHANGE:
    • Replaces location, queryParameters, and queryParametersAll in GoRouterState with Uri.
    • See Migrating to 10.0.0 or
      run dart fix --apply to fix the breakages.

v9.1.1

Compare Source

  • Fixes a link in error handling documentation.

v9.1.0

Compare Source

  • Adds the parentNavigatorKey parameter to ShellRouteData and StatefulShellRouteData.
  • Fixes a typo in docs for StatefulShellRoute.indexedStack(...).
  • Cleans some typos in the documentation and asserts.

v9.0.3

Compare Source

  • Adds helpers for go_router_builder for StatefulShellRoute support

v9.0.2

Compare Source

  • Exposes package-level privates.

v9.0.1

Compare Source

  • Allows redirect only GoRoute to be part of RouteMatchList.

v9.0.0

Compare Source

  • BREAKING CHANGE:
    • Removes GoRouter.location. Use GoRouterState.of().location instead.
    • GoRouter does not extends ChangeNotifier.
    • Migration guide
  • Reduces excessive rebuilds due to inherited look up.

v8.2.0

Compare Source

  • Adds onException to GoRouter constructor.

v8.1.0

Compare Source

  • Adds parent navigator key to ShellRoute and StatefulShellRoute.

v8.0.5

Compare Source

  • Fixes a bug that GoRouterState in top level redirect doesn't contain complete data.

v8.0.4

Compare Source

  • Updates documentations around GoRouter.of, GoRouter.maybeOf, and BuildContext extension.

v8.0.3

Compare Source

  • Makes namedLocation and route name related APIs case sensitive.

v8.0.2

Compare Source

  • Fixes a bug in debugLogDiagnostics to support StatefulShellRoute.

v8.0.1

Compare Source

  • Fixes a link for an example in path documentation.
    documentation.

v8.0.0

Compare Source

  • BREAKING CHANGE:
    • Imperatively pushed GoRoute no longer change URL.
    • Browser backward and forward button respects imperative route operations.
  • Refactors the route parsing pipeline.

v7.1.1

Compare Source

  • Removes obsolete null checks on non-nullable values.

v7.1.0

Compare Source

  • Introduces StatefulShellRoute to support using separate navigators for child routes as well as preserving state in each navigation tree (flutter/flutter#99124).
  • Updates documentation for pageBuilder and builder fields of ShellRoute, to more correctly
    describe the meaning of the child argument in the builder functions.
  • Adds support for restorationId to ShellRoute (and StatefulShellRoute).

v7.0.2

Compare Source

  • Fixes BuildContext extension method replaceNamed to correctly pass pathParameters and queryParameters.

v7.0.1

Compare Source

v7.0.0

Compare Source

  • BREAKING CHANGE:
    • For the below changes, run dart fix --apply to automatically migrate your code.
      • GoRouteState.subloc has been renamed to GoRouteState.matchedLocation.
      • GoRouteState.params has been renamed to GoRouteState.pathParameters.
      • GoRouteState.fullpath has been renamed to GoRouteState.fullPath.
      • GoRouteState.queryParams has been renamed to GoRouteState.queryParameters.
      • params and queryParams in GoRouteState.namedLocation have been renamed to pathParameters and queryParameters.
      • params and queryParams in GoRouter's namedLocation, pushNamed, pushReplacementNamed
        replaceNamed have been renamed to pathParameters and queryParameters.
    • For the below changes, please follow the migration guide.
      • params and queryParams in BuildContext's namedLocation, pushNamed, pushReplacementNamed
        replaceNamed have been renamed to pathParameters and queryParameters.
  • Cleans up API and makes RouteMatchList immutable.

Configuration

📅 Schedule: Branch creation - "before 7am" in timezone Asia/Tokyo, Automerge - "before 7am" in timezone Asia/Tokyo.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Dec 22, 2023
Copy link
Contributor Author

renovate bot commented Dec 22, 2023

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: apps/catalog/pubspec.lock
Command failed: flutter pub upgrade go_router
Generating synthetic localizations package failed with 1 error:

Exception: Attempted to generate localizations code without having the flutter: generate flag turned on.
Check pubspec.yaml and ensure that flutter: generate: true has been added and rebuild the project. Otherwise, the localizations source code will not be importable.

@github-actions github-actions bot added @feature/auth Changes in package packages/feature/auth @feature/settings Changes in package packages/feature/settings @feature/top Changes in package packages/feature/top labels Dec 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file @feature/auth Changes in package packages/feature/auth @feature/settings Changes in package packages/feature/settings @feature/top Changes in package packages/feature/top
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants